package com.java.bean;

public class Detail {

	private String id;
	private String xhid;
	private String author;
	private String content;
	private String picUrl;
	private String status;

	/**
	 * { "status": "000000", ----返回状态，六个0表示成功 "desc": null, ----返回结果描述，六个0表示成功
	 * "detail": [ ----具体笑话列表，是一个数组 { "id": 1115, ----数据库自增id，没有任何意义 "xhid":
	 * "90851", ----笑话id，判断笑话新旧用的 "author": "xxx", ----笑话作者 "content": "xxx",
	 * ----笑话内容 "picUrl": "", ----笑话的图片（如果有） "status": "1" ----笑话状态（能返回的都是1） },
	 * { "id": 1110, "xhid": "90850", "author": "xxx", "content": "xxx",
	 * "picUrl": "", "status": "1" } ] }
	 */
	public Detail() {
		super();
		// TODO 自动生成的构造函数存根
	}

	public Detail(String id, String xhid, String author, String content,
			String picUrl, String status) {
		super();
		this.id = id;
		this.xhid = xhid;
		this.author = author;
		this.content = content;
		this.picUrl = picUrl;
		this.status = status;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getXhid() {
		return xhid;
	}

	public void setXhid(String xhid) {
		this.xhid = xhid;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "Detail [id=" + id + ", xhid=" + xhid + ", author=" + author
				+ ", content=" + content + ", picUrl=" + picUrl + ", status="
				+ status + "]";
	}

}
